/*
 * @Author: Arcanum
 * @Copyright: 2010 by Mastercoding.NET
 * @Date: 29. July 2010
 * @File: vertices2.h
 */

#ifndef VERTICES2_H
#define	VERTICES2_H

const float wpx3 = 0.03125f;

spPt monkPt[6] =
{
    { 29*wpx2, 22*wpx3, 2*wpx2, 3*wpx3 },  //DUCK
    { 29*wpx2, 28*wpx3, 33*wpx2, 3*wpx3 }, //NORMAL
    { 19*wpx2, 28*wpx3, 64*wpx2, 3*wpx3 }, //LEFT1
    { 19*wpx2, 28*wpx3, 85*wpx2, 3*wpx3 }, //LEFT2
    { 19*wpx2, 28*wpx3, 106*wpx2, 3*wpx3 },//RIGHT1
    { 19*wpx2, 28*wpx3, 127*wpx2, 3*wpx3 } //RIGHT2
};

TexVertex __attribute__((aligned(16))) monkeyv[6][4] =
{
    {
        { monkPt[0].x, monkPt[0].y, 0xFFFFFFFF, 0, 0, 0.0001f },
        { monkPt[0].x, monkPt[0].y+monkPt[0].h, 0xFFFFFFFF, 0, 19*hpx, 0.0001f },
        { monkPt[0].x+monkPt[0].b, monkPt[0].y, 0xFFFFFFFF, 25*wpx, 0, 0.0001f },
        { monkPt[0].x+monkPt[0].b, monkPt[0].y+monkPt[0].h, 0xFFFFFFFF, 25*wpx, 19*hpx, 0.0001f }
    },
    {
        { monkPt[1].x, monkPt[1].y, 0xFFFFFFFF, -2*wpx, 0, 0.0001f },
        { monkPt[1].x, monkPt[1].y+monkPt[1].h, 0xFFFFFFFF, -2*wpx, 22*hpx, 0.0001f },
        { monkPt[1].x+monkPt[1].b, monkPt[1].y, 0xFFFFFFFF, 20*wpx, 0, 0.0001f },
        { monkPt[1].x+monkPt[1].b, monkPt[1].y+monkPt[1].h, 0xFFFFFFFF, 20*wpx, 22*hpx, 0.0001f }
    },
    {
        { monkPt[2].x, monkPt[2].y, 0xFFFFFFFF, 0, 0, 0.0001f },
        { monkPt[2].x, monkPt[2].y+monkPt[2].h, 0xFFFFFFFF, 0, 22*hpx, 0.0001f },
        { monkPt[2].x+monkPt[2].b, monkPt[2].y, 0xFFFFFFFF, 15*wpx, 0, 0.0001f },
        { monkPt[2].x+monkPt[2].b, monkPt[2].y+monkPt[2].h, 0xFFFFFFFF, 15*wpx, 22*hpx, 0.0001f }
    },
    {
        { monkPt[3].x, monkPt[3].y, 0xFFFFFFFF, 0, 0, 0.0001f },
        { monkPt[3].x, monkPt[3].y+monkPt[3].h, 0xFFFFFFFF, 0, 22*hpx, 0.0001f },
        { monkPt[3].x+monkPt[3].b, monkPt[3].y, 0xFFFFFFFF, 15*wpx, 0, 0.0001f },
        { monkPt[3].x+monkPt[3].b, monkPt[3].y+monkPt[3].h, 0xFFFFFFFF, 15*wpx, 22*hpx, 0.0001f }
    },
    {
        { monkPt[4].x, monkPt[4].y, 0xFFFFFFFF, -2*wpx, 0, 0.0001f }, //UL
        { monkPt[4].x, monkPt[4].y+monkPt[4].h, 0xFFFFFFFF, -2*wpx, 22*hpx, 0.0001f }, //OL
        { monkPt[4].x+monkPt[4].b, monkPt[4].y, 0xFFFFFFFF, 14*wpx, 0, 0.0001f }, //UR
        { monkPt[4].x+monkPt[4].b, monkPt[4].y+monkPt[4].h, 0xFFFFFFFF, 14*wpx, 22*hpx, 0.0001f } //OR
    },
    {
        { monkPt[5].x, monkPt[5].y, 0xFFFFFFFF, -3*wpx, 0, 0.0001f },
        { monkPt[5].x, monkPt[5].y+monkPt[5].h, 0xFFFFFFFF, -3*wpx, 22*hpx, 0.0001f },
        { monkPt[5].x+monkPt[5].b, monkPt[5].y, 0xFFFFFFFF, 14*wpx, 0, 0.0001f },
        { monkPt[5].x+monkPt[5].b, monkPt[5].y+monkPt[5].h, 0xFFFFFFFF, 14*wpx, 22*hpx, 0.0001f }
    }
};

TexVertex __attribute__((aligned(16))) bgv[4][4] =
{
    {
        { sprPt[10].x, sprPt[10].y, 0xFFFFFFFF, -1.8f, 0, 0 },
        { sprPt[10].x, sprPt[10].y+sprPt[10].h, 0xFFFFFFFF, -1.8f, 325*hpx, 0 },
        { sprPt[10].x+sprPt[10].b, sprPt[10].y, 0xFFFFFFFF, 2.2f, 0, 0 },
        { sprPt[10].x+sprPt[10].b, sprPt[10].y+sprPt[10].h, 0xFFFFFFFF, 2.2f, 325*hpx, 0 }
    },
    {
        { sprPt[11].x, sprPt[11].y, 0xFFFFFFFF, -1.8f, 0, 0 },
        { sprPt[11].x, sprPt[11].y+sprPt[11].h, 0xFFFFFFFF, -1.8f, 325*hpx, 0 },
        { sprPt[11].x+sprPt[11].b, sprPt[11].y, 0xFFFFFFFF, 2.2f, 0, 0 },
        { sprPt[11].x+sprPt[11].b, sprPt[11].y+sprPt[11].h, 0xFFFFFFFF, 2.2f, 325*hpx, 0 }
    },
    {
        { sprPt[12].x, sprPt[12].y, 0xFFFFFFFF, -1.8f, 0, 0 },
        { sprPt[12].x, sprPt[12].y+sprPt[12].h, 0xFFFFFFFF, -1.8f, 325*hpx, 0 },
        { sprPt[12].x+sprPt[12].b, sprPt[12].y, 0xFFFFFFFF, 2.2f, 0, 0 },
        { sprPt[12].x+sprPt[12].b, sprPt[12].y+sprPt[12].h, 0xFFFFFFFF, 2.2f, 325*hpx, 0 }
    },
    {
        { sprPt[13].x, sprPt[13].y, 0xFFFFFFFF, -1.8f, 0, 0 },
        { sprPt[13].x, sprPt[13].y+sprPt[13].h, 0xFFFFFFFF, -1.8f, 325*hpx, 0 },
        { sprPt[13].x+sprPt[13].b, sprPt[13].y, 0xFFFFFFFF, 2.2f, 0, 0 },
        { sprPt[13].x+sprPt[13].b, sprPt[13].y+sprPt[13].h, 0xFFFFFFFF, 2.2f, 325*hpx, 0 }
    }
};

#endif	/* VERTICES2_H */

